package cn.tedu.demo.beans;

import org.springframework.stereotype.Component;

@Component
public class Saw {
    private String name;
    public Saw(){
        name="电锯";
        System.out.println("创建电锯对象");
    }

    @Override
    public String toString() {
        return name;
    }
}
